import { TreeArr, TableData } from "./interface/index.ts";

export const personnelData:TableData[] = [
    {
        id:1,
        name: '李云',
        gender: '女',
        number: 'NYK',
        code: '0101',
        managementPosition: '无',
        technicalService: '无',
        antibacterialPermissions: '有',
        appointmentAuthority: '无',
        appointment: '无',
        birthDate: '2024-04-11',
        card: '42356666666666669999',
        nation: '汉',
        educationalBackground: '本科',
        belonging: '住院部',
        putDate: '2024-04-11',
        tel: '0731-88888888',
        personnelNature:[
          {nature:'临床',explain:'直接给病人诊断并决定治疗方案的部门，按照服务对象分为门诊科室等等。'},
          {nature:'治疗',explain:'直接给病人诊断并决定治疗方案的部门，按照服务对象分为门诊科室等等。'},
          {nature:'护理',explain:'直接给病人诊断并决定治疗方案的部门，按照服务对象分为门诊科室等等。'},
        ]
    },
    {
        id:1,
        name: '王黎来',
        gender: '男',
        number: 'NYK',
        code: '0101',
        managementPosition: '无',
        technicalService: '无',
        antibacterialPermissions: '有',
        appointmentAuthority: '无',
        appointment: '无',
        birthDate: '2024-04-11',
        card: '42356666666666669999',
        nation: '汉',
        educationalBackground: '本科',
        belonging: '住院部',
        putDate: '2024-04-11',
        tel: '0731-88888888',
        personnelNature:[
          {nature:'临床',explain:'直接给病人诊断并决定治疗方案的部门，按照服务对象分为门诊科室等等。'},
          {nature:'治疗',explain:'直接给病人诊断并决定治疗方案的部门，按照服务对象分为门诊科室等等。'},
          {nature:'护理',explain:'直接给病人诊断并决定治疗方案的部门，按照服务对象分为门诊科室等等。'},
        ]
    },
    {
        id:1,
        name: '李云1',
        gender: '女',
        number: 'NYK',
        code: '0101',
        managementPosition: '无',
        technicalService: '无',
        antibacterialPermissions: '有',
        appointmentAuthority: '无',
        appointment: '无',
        birthDate: '2024-04-11',
        card: '42356666666666669999',
        nation: '汉',
        educationalBackground: '本科',
        belonging: '住院部',
        putDate: '2024-04-11',
        tel: '0731-88888888',
        personnelNature:undefined
    },
    {
        id:1,
        name: '李云2',
        gender: '女',
        number: 'NYK',
        code: '0101',
        managementPosition: '无',
        technicalService: '无',
        antibacterialPermissions: '有',
        appointmentAuthority: '无',
        appointment: '无',
        birthDate: '2024-04-11',
        card: '42356666666666669999',
        nation: '汉',
        educationalBackground: '本科',
        belonging: '住院部',
        putDate: '2024-04-11',
        tel: '0731-88888888',
        personnelNature:[
          {nature:'临床',explain:'直接给病人诊断并决定治疗方案的部门，按照服务对象分为门诊科室等等。'},
          {nature:'治疗',explain:'直接给病人诊断并决定治疗方案的部门，按照服务对象分为门诊科室等等。'},
        ]
    },
]

export const treeData: TreeArr[] = [
    {
        id: 1,
        label: "所有部门",
        children: [
            {
                id: 2,
                label: "住院部",
                children: [
                    {
                        id: 20,
                        label: "三级 1-1-1",
                    },
                    {
                        id: 21,
                        label: "三级 1-1-2",
                    },
                ],
            },
            {
                id: 3,
                label: "医技部门",
                children: [
                    {
                        id: 20,
                        label: "三级 1-1-1",
                    },
                    {
                        id: 21,
                        label: "三级 1-1-2",
                    },
                ],
            },
            {
                id: 4,
                label: "医务部门",
                children: [
                    {
                        id: 20,
                        label: "三级 1-1-1",
                    },
                    {
                        id: 21,
                        label: "三级 1-1-2",
                    },
                ],
            },
            {
                id: 5,
                label: "医技部门",
                children: [
                    {
                        id: 20,
                        label: "三级 1-1-1",
                    },
                    {
                        id: 21,
                        label: "三级 1-1-2",
                    },
                ],
            },
            {
                id: 6,
                label: "财务部门",
                children: [
                    {
                        id: 20,
                        label: "三级 1-1-1",
                    },
                    {
                        id: 21,
                        label: "三级 1-1-2",
                    },
                ],
            },
            {
                id: 7,
                label: "后勤部门",
                children: [
                    {
                        id: 20,
                        label: "三级 1-1-1",
                    },
                    {
                        id: 21,
                        label: "三级 1-1-2",
                    },
                ],
            },
            {
                id: 8,
                label: "行政部门2",
                children: [
                    {
                        id: 20,
                        label: "三级 1-1-1",
                    },
                    {
                        id: 21,
                        label: "三级 1-1-2",
                    },
                ],
            },
            {
                id: 9,
                label: "信息管理部门",
                children: [
                    {
                        id: 20,
                        label: "三级 1-1-1",
                    },
                    {
                        id: 21,
                        label: "三级 1-1-2",
                    },
                ],
            },
            {
                id: 10,
                label: "门诊部",
                children: [
                    {
                        id: 20,
                        label: "三级 1-1-1",
                    },
                    {
                        id: 21,
                        label: "三级 1-1-2",
                    },
                ],
            },
        ],
    },
]